package com.itheima.Jiuye13;

public class MyRunnable implements Runnable {     //同过实现Runnable重写run方法来开启线程任务
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("第二种开启线程的方法"+i);
        }
    }
}
